package com.lzc.tlmail.tlmailproduct.feign;

import com.lzc.common.to.es.SkuEsModel;
import com.lzc.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author lzc
 * @create 2020-09-21 22:18
 */
@FeignClient("search-service")
public interface SearchFeignService {
    @PostMapping("/search/save/product")
    public R productUp(@RequestBody List<SkuEsModel> skuEsModels);
}
